
#include <BPainter>
#include "member_BStackLayout.h"

using namespace BWE;

member_BStackLayout::member_BStackLayout(BStackLayout* layout)
{
	boss = layout;
	current = -1;
}
member_BStackLayout::~member_BStackLayout()
{

}

void member_BStackLayout::slotWidgetShown(BObject* object, const BValue& value)
{
	boss->setCurrent(object);
}
void member_BStackLayout::slotLayoutShown(BObject* object, const BValue& value)
{
	boss->setCurrent(object);
}

